#ifndef VIEW_H
#define VIEW_H

#define _REFRESH_RATE_ 60

#include <QWidget>
#include <QTimer>
#include <QTime>
#include <QPainter>
#include <QString>

class View : public QWidget
{
    Q_OBJECT

public:
    explicit View(QWidget *parent = 0);
    
signals:
    
public slots:
    virtual void paintEvent(QPaintEvent *);

private:
    qint64 number;
    QTime last;
    QString m_fps;
};

#endif // VIEW_H
